package com.xbn.xbnmall.order.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author XBN
 * @date 2020/8/11 13:57
 * @email 78742541@qq.com
 */
@ConfigurationProperties(prefix = "xbnmall.thread")
@Component
@Data
public class ThreadPollConfigProperties {
    private Integer coreSize;
    private Integer maxSize;
    private Integer keepAliveTime;
}
